package com.example.myapplication.module;

import javax.inject.Inject;
import javax.inject.Named;

public class ModuleTest {
    Engine engine;
    @Inject
    public ModuleTest(@Named("AModule") Engine engine) {
        this.engine = engine;
    }

    public  String run(){
        return engine.work();
    }
}
